package com.ruoyi.flow.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.util.Map;

@Data
@ApiModel("启动工作流请求接口")
public class FlowStartVo {
    @ApiModelProperty("当前登录用户名") @NotEmpty private String loginName;
    @ApiModelProperty("系统编码") @NotEmpty private String sysCode;
    @ApiModelProperty("流程编码") @NotEmpty private String flowCode;
    @ApiModelProperty("流程参数") @NotEmpty private Map<String, Object> params;
}
